#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: check_interval.py 
@version:
@time: 2023/04/20 
"""
import threading

n = 0


def foo():
    global n
    n += 1


threads = []
for i in range(100):
    t = threading.Thread(target=foo)
    threads.append(t)

for t in threads:
    t.start()

for t in threads:
    t.join()

print(n)
